package com.zlj.accountant.db.entity;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName=TBank.TableName)
public class TBank{
 
	public static final String TableName = "TBank";
	
	public static final String Field_Name = "name";
	
	public static final String Field_Code = "code";
	
	public String getName(){
    	return name;
    }

	public void setName(String name){
    	this.name = name;
    }

	public String getCode(){
    	return code;
    }

	public void setCode(String code){
    	this.code = code;
    }
	
	@DatabaseField(canBeNull=false,columnName=Field_Name)
	private String name;
	@DatabaseField(id=true,canBeNull=false,columnName=Field_Code)
	private String code;
	
	public TBank(){}
	
	
}
